package com.xiehospital.common.core.domain.entity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xiehospital.common.annotation.Excel;
import com.xiehospital.common.core.domain.BaseEntity;

/**
 * 预约信息对象 sys_reserve
 *
 * @author xierujian
 * @date 2024-02-27
 */
public class SysReserve extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约id */
    private Long reserveId;

    /** 床位编号 */
    @Excel(name = "床位编号")
    private Long bedId;

    /** 床位类型组 */
    @Excel(name = "床位类型组")
    private Long btypeId;

    /** 患者信息 */
    @Excel(name = "患者信息")
    private Long patientId;

    /** 医生信息 */
    @Excel(name = "医生信息")
    private Long doctorId;

    /** 护士信息 */
    @Excel(name = "护士信息")
    private Long nurseId;

    /** 手术预约 */
    @Excel(name = "手术预约")
    private String surgeryAppointment;

    /** 是否入住（0未入住，1已入住） */
    @Excel(name = "是否入住", readConverterExp = "0=未入住，1已入住")
    private Integer checkedIn;

    /** 床位类型组 */
    private SysBtype btype;

    /** 患者信息组 **/
    private SysPatient patient;

    public SysBtype getBtype() {
        return btype;
    }

    public void setBtype(SysBtype btype) {
        this.btype = btype;
    }

    public SysPatient getPatient() {
        return patient;
    }

    public void setPatient(SysPatient patient) {
        this.patient = patient;
    }

    public void setReserveId(Long reserveId)
    {
        this.reserveId = reserveId;
    }

    public Long getReserveId()
    {
        return reserveId;
    }
    public void setBedId(Long bedId)
    {
        this.bedId = bedId;
    }

    public Long getBedId()
    {
        return bedId;
    }
    public void setBtypeId(Long btypeId)
    {
        this.btypeId = btypeId;
    }

    public Long getBtypeId()
    {
        return btypeId;
    }
    public void setPatientId(Long patientId)
    {
        this.patientId = patientId;
    }

    public Long getPatientId()
    {
        return patientId;
    }
    public void setDoctorId(Long doctorId)
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId()
    {
        return doctorId;
    }
    public void setNurseId(Long nurseId)
    {
        this.nurseId = nurseId;
    }

    public Long getNurseId()
    {
        return nurseId;
    }
    public void setSurgeryAppointment(String surgeryAppointment)
    {
        this.surgeryAppointment = surgeryAppointment;
    }

    public String getSurgeryAppointment()
    {
        return surgeryAppointment;
    }
    public void setCheckedIn(Integer checkedIn)
    {
        this.checkedIn = checkedIn;
    }

    public Integer getCheckedIn()
    {
        return checkedIn;
    }


    @Override
    public String toString() {
        return "SysReserve{" +
                "reserveId=" + reserveId +
                ", bedId=" + bedId +
                ", btypeId=" + btypeId +
                ", patientId=" + patientId +
                ", doctorId=" + doctorId +
                ", nurseId=" + nurseId +
                ", surgeryAppointment='" + surgeryAppointment + '\'' +
                ", checkedIn=" + checkedIn +
                ", btype=" + btype +
                ", patient=" + patient +
                '}';
    }
}
